﻿using Bystd.Geo.Geometries;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Bystd.Geo.GeoParsers.GeoJson
{
    public class GeoJsonPolygon<T, Polygon>
          : GeoJsonObject<T, Polygon> where Polygon : PolygonArray
    {
        public GeoJsonPolygon() { }
        public GeoJsonPolygon(Feature<T, Polygon>[] features)
         : base()
        {
            this.features = features;
        }
    }

    public class GeoJsonPolygon : GeoJsonMultiLineString
    {
        public GeoJsonPolygon() { }

        public GeoJsonPolygon(string jsonString)
            : base(jsonString) { }

        public GeoJsonPolygon(Geometry geometry)
           : base(geometry) { }
    }

}
